<!DOCTYPE html>
<html lang="zh_CN" class="h100">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10" />
    <meta name="renderder" content="webkit" />
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" />
    <title>安徽省社会消费品零售总额预测系统</title>
    <link rel="shortcut icon" href="../../public/images/pm.ico" />
    <link rel="bookmark" href="../../public/images/pm.ico" type="image/x-icon" 　 />
    <link rel="stylesheet" type="text/css" href="../../public/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="../../public/css/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="../../public/css/base.css" />
    <link rel="stylesheet" type="text/css" href="../../public/css/layout.css" />
    <link rel="stylesheet" type="text/css" href="../../public/css/main.css" />
</head>

<body class="h100">
    <div class="container-fluid">
        <div class="row report-row">
            <div class="col-md-6">
                <div class="Month-report">
                    <div class="report-title">
                        <p><i class="glyphicon glyphicon-list-alt"></i><span>社零月度报告</span></p>
                        <div class="report-btn">

                            <span class="download-btn"></span>
                        </div>
                    </div>
                    <div class="report-list">
                        <ul class="list-1">
                            <li>
                                <input type="checkbox" name="" id="">
                                <span>安徽省社零5月份分析报告</span>
                                <span class="time fr">2019-05-30</span>
                            </li>
                            <li>
                                <a href="report_detail.html" target="main-content" style="color: #555555">
                                    <input type="checkbox" name="" id="">
                                    <span>安徽省社零4月份分析报告</span>
                                    <span class="time fr">2019-04-30</span>
                                </a>
                            </li>
                            <li>
                                <input type="checkbox" name="" id="">
                                <span>安徽省社零3月份分析报告</span>
                                <span class="time fr">2019-03-30</span>
                            </li>
                            <li>
                                <input type="checkbox" name="" id="">
                                <span>安徽省社零2月份分析报告</span>
                                <span class="time fr">2019-02-30</span>
                            </li>


                        </ul>
                        <!-- <div class="list-page">
                            <nav aria-label="...">
                                <ul class="pagination">
                                    <li>
                                        <span>
                                      <span aria-hidden="true">首页</span>
                                        </span>
                                    </li>
                                    <li class="active">
                                        <span>1 <span class="sr-only">(current)</span></span>
                                    </li>
                                    <li>
                                        <span>2</span>
                                    </li>
                                    <li>
                                        <span>3</span>
                                    </li>
                                    <li>
                                        <span>4</span>
                                    </li>
                                    <li>
                                        <span>...</span>
                                    </li>
                                    <li>
                                        <span>
                                      <span aria-hidden="true">末页</span>
                                        </span>
                                    </li>
                                </ul>
                            </nav>
                        </div> -->
                    </div>
                </div>
            </div>
            <div class="col-md-6">
                <div class="Quarter-report">
                    <div class="report-title">
                        <p><i class="glyphicon glyphicon-list-alt"></i><span>社零季度报告</span></p>
                        <div class="report-btn">

                            <span class="download-btn"></span>
                        </div>
                    </div>
                    <div class="report-list">
                        <ul class="list-2">
                            <li>
                                <input type="checkbox" name="" id="">
                                <span>安徽省社零第一季度分析报告</span>
                                <span class="time fr">2019-03-31</span>
                            </li>
                            <li>
                                <input type="checkbox" name="" id="">
                                <span>安徽省社零第二季度分析报告</span>
                                <span class="time fr">2019-06-30</span>
                            </li>
                        </ul>
                        <!-- <div class="list-page">
                            <nav aria-label="...">
                                <ul class="pagination">
                                    <li>
                                        <span>
                                      <span aria-hidden="true">首页</span>
                                        </span>
                                    </li>
                                    <li class="active">
                                        <span>1 <span class="sr-only">(current)</span></span>
                                    </li>
                                    <li>
                                        <span>2</span>
                                    </li>
                                    <li>
                                        <span>3</span>
                                    </li>
                                    <li>
                                        <span>4</span>
                                    </li>
                                    <li>
                                        <span>...</span>
                                    </li>
                                    <li>
                                        <span>
                                      <span aria-hidden="true">末页</span>
                                        </span>
                                    </li>
                                </ul>
                            </nav>
                        </div> -->
                    </div>
                </div>
            </div>
        </div>
        <div class="row other-row">
            <div class="col-md-6">
                <div class="Month-report">
                    <div class="report-title">
                        <p><i class="glyphicon glyphicon-list-alt"></i><span>突发事件</span></p>
                        <div class="report-btn">

                            <span class="download-btn"></span>
                        </div>
                    </div>
                    <div class="report-list">
                        <ul class="list-3">
                            <li>
                                <a href="#" target="main-content" style="color: #555555">
                                    <input type="checkbox" name="" id="">
                                    <span>安徽近期高温炙烤，特大暴雨来袭 </span>
                                    <span class="time fr">2019-06-05</span>
                                </a>
                            </li>
                            <li>
                                <a href="#" target="main-content" style="color: #555555">
                                    <input type="checkbox" name="" id="">
                                    <span>国务院办公厅关于调整2019年劳动节假期安排的通知</span>
                                    <span class="time fr">2019-03-22</span>
                                </a>
                            </li>
                        </ul>
                        <div class="list-page" style="display: none">
                            <nav aria-label="...">
                                <ul class="pagination">
                                    <li>
                                        <span>
                                      <span aria-hidden="true">首页</span>
                                        </span>
                                    </li>
                                    <li class="active">
                                        <span>1 <span class="sr-only">(current)</span></span>
                                    </li>
                                    <li>
                                        <span>2</span>
                                    </li>
                                    <li>
                                        <span>3</span>
                                    </li>
                                    <li>
                                        <span>4</span>
                                    </li>
                                    <li>
                                        <span>...</span>
                                    </li>
                                    <li>
                                        <span>
                                      <span aria-hidden="true">末页</span>
                                        </span>
                                    </li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-6">
                <div class="Quarter-report">
                    <div class="report-title">
                        <p><i class="glyphicon glyphicon-list-alt"></i><span>社零政策</span></p>
                        <div class="report-btn">

                            <span class="download-btn"></span>
                        </div>
                    </div>
                    <div class="report-list">
                        <ul class="list-4">
                            <li>
                                <input type="checkbox" name="" id="">
                                <span>关于进一步减负增效，纾困解难，优化环境促进经济持续健康发展的若干意见     </span>
                                <span class="time fr">2019-02-27</span>
                            </li>
                            <li>
                                <input type="checkbox" name="" id="">
                                <span>安徽省人民政府关于促进全域旅游发展加快旅游强省建设的实施意见</span>
                                <span class="time fr">2019-06-05</span>
                            </li>

                        </ul>
                        <div class="list-page" style="display: none;">
                            <nav aria-label="...">
                                <ul class="pagination">
                                    <li>
                                        <span>
                                      <span aria-hidden="true">首页</span>
                                        </span>
                                    </li>
                                    <li class="active">
                                        <span>1 <span class="sr-only">(current)</span></span>
                                    </li>
                                    <li>
                                        <span>2</span>
                                    </li>
                                    <li>
                                        <span>3</span>
                                    </li>
                                    <li>
                                        <span>4</span>
                                    </li>
                                    <li>
                                        <span>...</span>
                                    </li>
                                    <li>
                                        <span>
                                      <span aria-hidden="true">末页</span>
                                        </span>
                                    </li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="../../public/js/echarts.js"></script>
    <script type="text/javascript" src="../../public/js/jquery.min.js"></script>
    <script type="text/javascript">
        $(function() {
          function getList1() {
                $.ajax({
                    type: "GET",
                    url: "http://ansocialsale.frpgz1.idcfengye.com/api/fileList",
                    contentType: "application/json",
                    data: {
                        "page": "1",
                        "POST_PRE_PAGE": "5",
                        "file_type": "1"
                    },
                    dataType: "json",
                    success: function(data) {
                        var str = ''
                        for (var i = 0; i < data.file_name.length; i++) {
                            str += `
                            <li>
                                <input type="checkbox" data-name="${data.file_name[i]}">
                                <span>${data.file_name[i]}</span>
                                <span class="time fr">${data.date[i]}</span>
                            </li>
                            `
                        }
                        $(".list-1").html(str)
                    }
                });
            }

            function getList2() {
                $.ajax({
                    type: "GET",
                    url: "http://ansocialsale.frpgz1.idcfengye.com/api/fileList",
                    contentType: "application/json",
                    data: {
                        "page": "1",
                        "POST_PRE_PAGE": "5",
                        "file_type": "2"
                    },
                    dataType: "json",
                    success: function(data) {
                        var str = ''
                        for (var i = 0; i < data.file_name.length; i++) {
                            str += `
                            <li>
                                <input type="checkbox" data-name="${data.file_name[i]}">
                                <span>${data.file_name[i]}</span>
                                <span class="time fr">${data.date[i]}</span>
                            </li>
                            `
                        }
                        $(".list-2").html(str)
                    }
                });
            }

            function getList3() {
                $.ajax({
                    type: "GET",
                    url: "http://ansocialsale.frpgz1.idcfengye.com/api/fileList",
                    contentType: "application/json",
                    data: {
                        "page": "1",
                        "POST_PRE_PAGE": "5",
                        "file_type": "3"
                    },
                    dataType: "json",
                    success: function(data) {
                        var str = ''
                        for (var i = 0; i < data.file_name.length; i++) {
                            str += `
                            <li>
                                <input type="checkbox" data-name="${data.file_name[i]}">
                                <span>${data.file_name[i]}</span>
                                <span class="time fr">${data.date[i]}</span>
                            </li>
                            `
                        }
                        $(".list-3").html(str)
                    }
                });
            }

            function getList4() {
                $.ajax({
                    type: "GET",
                    url: "http://ansocialsale.frpgz1.idcfengye.com/api/fileList",
                    contentType: "application/json",
                    data: {
                        "page": "1",
                        "POST_PRE_PAGE": "5",
                        "file_type": "4"
                    },
                    dataType: "json",
                    success: function(data) {
                        var str = ''
                        for (var i = 0; i < data.file_name.length; i++) {
                            str += `
                            <li>
                                <input type="checkbox" data-name="${data.file_name[i]}">
                                <span>${data.file_name[i]}</span>
                                <span class="time fr">${data.date[i]}</span>
                            </li>
                            `
                        }
                        $(".list-4").html(str)
                    }
                });
            }
            getList1()
            getList2()
            getList3()
            getList4()
            $(".download-btn").click(function() {
                var name = $(this).parent().parent().parent().find('input[type=checkbox]:checked').attr("data-name")
                window.open("http://ansocialsale.frpgz1.idcfengye.com/download?filename="+name+".docx");
            })
        })
    </script>
    <!-- <script type="text/javascript" src="../../public/js/main.js"></script> -->
</body>

</html>